import Vue from 'vue'
import Router from 'vue-router'


Vue.use(Router)

export default new Router({
  routes: [
    // 首页
    {
      path:'/',
      name:'Home',
      // component: () => import('@/views/Home/Home.vue')
      component: resolve=>(require(["@/views/Home/Home.vue"],resolve))//异步加载路由
    }
  ]
})
